<?php
class news_view extends SClass {

    public function process() {
        $news = ServiceUtils::GetFactory()->getNewsService()->getNewsById($this->getArgument('id'));
        $this->assign('title', $news->getTitle());
        $this->assign('previes', $news->getPreview());
        $this->assign('content', $news->getContent());
    }

}